const sql = require("./index");
const Admin = require("./collection/Admin");
const md5 = require("md5");
const uuid = require("node-uuid");
let insertDate = [{
    adminid: "admin_" + uuid.v1(),
    adminname: "admin",
    password: md5("123456"),
    role: 2
}, {
    adminid: "admin_" + uuid.v1(),
    adminname: "cmh",
    password: md5("123456"),
    role: 1
}];
sql.insert(Admin, insertDate).then(() => {
    console.log("插入成功");
})